﻿@model MvcAtletIS.Models.Performances

@{
    ViewBag.Title = "Zmazať prihlášku";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h3>Naozaj chcete zmazať túto prihlášku?</h3>

<fieldset>
    <legend>Detaily</legend>

    <div class="display-label">Disciplína</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DisciplineList.Name)
    </div>


    <div class="display-label">Meno</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">Priezvisko</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Surname)
    </div>

    <div class="display-label">Dátum narodenia</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Birthdate)
    </div>

    <div class="display-label">Klub</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Club)
    </div>

    <div class="display-label">Krajina</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Countries.Name)
    </div>

</fieldset>

@using (Html.BeginForm()) 
{
    <p>
        <input type="submit" value="Zmazať" /> |
    @Html.ActionLink("Naspäť na editor prihlášok", "Index", new { CompetitionId = Model.DisciplineList.CompetitionId, DisciplineListId = Model.DisciplineListId })
    </p>
}
